package com.example.dryyzx.encapsulation;

import java.util.ArrayList;

public class NursingRecordEncapsulation3 {
    ArrayList<NursingRecordEncapsulation2> nursingRecordEncapsulation2s;

    int totalPage;
    public NursingRecordEncapsulation3(){
        this.nursingRecordEncapsulation2s = new ArrayList<>();
    }

    public ArrayList<NursingRecordEncapsulation2> getNursingRecordEncapsulation2s() {
        return nursingRecordEncapsulation2s;
    }

    public void setNursingRecordEncapsulation2s(ArrayList<NursingRecordEncapsulation2> nursingRecordEncapsulation2s) {
        this.nursingRecordEncapsulation2s = nursingRecordEncapsulation2s;
    }

    public void addNursingRecordEncapsulation(NursingRecordEncapsulation2 nursingRecordEncapsulation2){
        this.nursingRecordEncapsulation2s.add(nursingRecordEncapsulation2);
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }


}
